package com.tanhua.dubbo.server.api;





import com.tanhua.dubbo.server.pojo.Messages;
import com.tanhua.dubbo.server.pojo.Publish;
import com.tanhua.dubbo.server.vo.MessageVo;
import org.bson.types.ObjectId;


import java.util.List;
import java.util.Set;

public interface MessagesApi {
    Boolean messagesRevocation(List<String> publishIds, String state);

    Boolean messagesUpdateTop(String publishId, Integer topState);

    Set<ObjectId> queryAlbumList(Long userId);

    List<Publish> queryPublishList(Long uid, Long ed, Long sd);

    List<Publish> getPublishAll();
}
